package zilvic.resources;

import java.io.BufferedOutputStream;
import java.io.DataOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import zilvic.game.room.Room;

/**
 *
 * @author Duncan
 */
public class GameLoader {
    public final static String RESOURCE_PATH        = "resources/";
    public final static String RESOURCE_EXTENSION   = ".zrf";

    public void saveRoom(Room room, String name) {
        try {
            OutputStream out = new DataOutputStream(new BufferedOutputStream(
                    new FileOutputStream(RESOURCE_PATH + "rooms/" + name + RESOURCE_EXTENSION)));
            
        } catch (IOException e) {
            e.fillInStackTrace();
        }
    }
}
